package com.permissionmanager.service;

import com.permissionmanager.entity.Page;
import com.permissionmanager.entity.Perm;

import java.util.List;

/**
 * perm业务层接口
 *
 */
public interface PermService {

    List<Perm> findPerm(Integer id,String name,String pNo,Integer isOne);

    void add(Perm perm);

    void update(Perm perm);

    void del(Integer id);

    Page<Perm> findPage(Integer pageNum, Integer pageSize, String name);

    List<Perm> findAll();
}
